const {
  selectCollectInfo,
  selectAuctionRecordInfo
} = require('../model/collect');

/* 获取收藏信息 */
let getCollects = async (ctx, next) => {

  selectCollectInfo(ctx, next);
};
/* 获取竞拍记录信息 */
let getAuctionRecord = async (ctx, next) => {

  selectAuctionRecordInfo(ctx, next);
};


/* 注意请求方式后面的空格 */
module.exports = {
  'GET /collect': getCollects,
  'GET /auctionRecord': getAuctionRecord
};